package com.rykj.energy.database.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@TableName("business_user_config")
@ApiModel("用户配置信息表")
public class BusinessUserConfig extends BasePojo{

    @ApiModelProperty("主键")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户Id" )
    @TableField(value = "userId")
    private Integer userId;

    @ApiModelProperty(value = "配置编号" )
    @TableField(value = "configNo")
    private Integer configNo;

    @ApiModelProperty(value = "配置内容" )
    @TableField(value = "configContent")
    private String configContent;

    @ApiModelProperty(value = "仪表实时展示数据" )
    @TableField(exist=false)
    private List<BusinessRotation> businessRotations;
}
